import 'package:json_annotation/json_annotation.dart';

part 'SessionBaseInfo.g.dart';

@JsonSerializable()
class SessionBaseInfo {
  SessionBaseInfo();

  late num sessionId;
  late String createTime;
  late String lastActiveTime;
  late num unreadCount;
  
  factory SessionBaseInfo.fromJson(Map<String,dynamic> json) => _$SessionBaseInfoFromJson(json);
  Map<String, dynamic> toJson() => _$SessionBaseInfoToJson(this);
}
